Skip to content

feat: implement threaded message strategy for Slack notifier#5227

Draft
santiagofn wants to merge 4 commits intoprometheus:mainfrom
santiagofn:feat/slack-thread-implementation
Draft

feat: implement threaded message strategy for Slack notifier#5227
santiagofn wants to merge 4 commits intoprometheus:mainfrom
santiagofn:feat/slack-thread-implementation

Conversation

@santiagofn
Copy link
Copy Markdown

@santiagofn santiagofn commented May 6, 2026

Part 4 of a series implementing threaded message support for the Slack notifier. Full picture: #5150. Depends on #5224, #5225, and #5226.

Summary

Implements the core threaded message strategy. When message_strategy: thread is configured, a parent summary message is posted first, and subsequent firing/resolved notifications are posted as thread replies. The strategy uses the notification log to persist the parent message's ts and channel across alert state changes, enabling correct threading even across alert manager restarts.

Also implements support for updating the parent message emoji and text on resolution when resolve_emoji or update_parent_on_resolve are configured.

santiagofn added 4 commits May 6, 2026 14:33
Signed-off-by: Santiago Fernández Núñez <santiago.nunez@nubank.com.br>
Signed-off-by: Santiago Fernández Núñez <santiago.nunez@nubank.com.br>
…gies

Signed-off-by: Santiago Fernández Núñez <santiago.nunez@nubank.com.br>
Signed-off-by: Santiago Fernández Núñez <santiago.nunez@nubank.com.br>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 6, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 3da642e5-2443-4708-9ca5-b6f96bd3b434

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant